package com.ruoyi.hbs.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 码上放心-终端统计表
 */
@ApiModel(description="码上放心-终端统计表")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "msfx_terminal_statistics")
public class MsfxTerminalStatistics implements Serializable {
    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="id")
    private Long id;
    /**
     * 产品映射表id
     */
    @TableField(value = "product_id")
    @ApiModelProperty(value="产品映射表id")
    private String productId;

    /**
     * 商业映射表id
     */
    @TableField(value = "business_id")
    @ApiModelProperty(value="收货方企业名称")
    private String businessId;

    /**
     * 入库数量
     */
    @TableField(value = "inbound_quantity")
    @ApiModelProperty(value="入库数量")
    private Integer inboundQuantity;

    /**
     * 统计日期
     */
    @TableField(value = "stat_date")
    @ApiModelProperty(value="统计日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date statDate;
    /**
     * 是否已上传 0-未上传 1-已上传
     */
    @TableField(value = "is_uploaded")
    @ApiModelProperty(value="是否已上传 0-未上传 1-已上传")
    private Integer isUploaded;

    /**
     * 是否已上传人工标记 0-未上传 1-已上传
     */
    @TableField(value = "is_uploaded_mark")
    @ApiModelProperty(value="是否已上传人工标记 0-未上传 1-已上传")
    private Integer isUploadedMark;

    /**
     * 货商映射表id
     */
    @TableField(exist = false)
    @ApiModelProperty(value="货商映射表id")
    private String hbsProductId;
    /**
     * 货商映射表id
     */
    @TableField(exist = false)
    @ApiModelProperty(value="货商映射表id")
    private String hbsBusinessId;
}